#include <stdio.h>
int main()
{
    int i = 1, op;
    printf("[1] apple\n[2] pear\n[3] orange\n[4] grape\n[0] exit");
    scanf("%d", &op);
    while(i <= 5 && op != 0)
    {
        i++;
        switch (op)
        {
        case 1:
            printf("\nprice = 3.00");
            break;
        case 2:
            printf("\nprice = 2.50");
            break;
        case 3:
            printf("\nprice = 4.10");
            break;
        case 4:
            printf("\nprice = 10.20");
            break;
        default:
            printf("\nprice = 0.00");
            break;
        }
        scanf("%d", &op);
    }
    return 0;
}